/**
 * 
 */
package com.swim.settlementapply.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.swim.settlementapply.entity.SettlementApplyItem;
import com.swim.settlementapply.dao.SettlementApplyItemDao;

/**
 * 结算申请明细表Service
 * @author 刘军武
 * @version 2021-04-08
 */
@Service
@Transactional(readOnly=true)
public class SettlementApplyItemService extends CrudService<SettlementApplyItemDao, SettlementApplyItem> {
	
	/**
	 * 获取单条数据
	 * @param settlementApplyItem
	 * @return
	 */
	@Override
	public SettlementApplyItem get(SettlementApplyItem settlementApplyItem) {
		return super.get(settlementApplyItem);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param settlementApplyItem
	 * @return
	 */
	@Override
	public Page<SettlementApplyItem> findPage(Page<SettlementApplyItem> page, SettlementApplyItem settlementApplyItem) {
		return super.findPage(page, settlementApplyItem);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param settlementApplyItem
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(SettlementApplyItem settlementApplyItem) {
		super.save(settlementApplyItem);
	}
	
	/**
	 * 更新状态
	 * @param settlementApplyItem
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(SettlementApplyItem settlementApplyItem) {
		super.updateStatus(settlementApplyItem);
	}
	
	/**
	 * 删除数据
	 * @param settlementApplyItem
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(SettlementApplyItem settlementApplyItem) {
		super.delete(settlementApplyItem);
	}
	
}